-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix chat icon is highlighted after returning from share log page #40330
Fix chat icon is highlighted after returning from share log page #40330
Conversation
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-17.at.15.25.06.movAndroid: mWeb ChromeScreen.Recording.2024-04-17.at.15.19.25.moviOS: NativeScreen.Recording.2024-04-17.at.16.42.34.moviOS: mWeb SafariScreen.Recording.2024-04-17.at.15.14.37.movMacOS: Chrome / SafariScreen.Recording.2024-04-17.at.15.13.34.movMacOS: DesktopScreen.Recording.2024-04-17.at.15.16.43.mov |
@@ -1,7 +1,7 @@ | |||
import type {BottomTabName, NavigationPartialRoute, RootStackParamList, State} from './types'; | |||
|
|||
function getTopmostBottomTabRoute(state: State<RootStackParamList> | undefined): NavigationPartialRoute<BottomTabName> | undefined { | |||
const bottomTabNavigatorRoute = state?.routes[0]; | |||
const bottomTabNavigatorRoute = state?.routes.findLast((route) => route.name === 'BottomTabNavigator'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the constant NAVIGATORS.BOTTOM_TAB_NAVIGATOR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/amyevans in version: 1.4.63-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
Details
The chat icon is highlighted instead of settings when coming back from the share log page. This PR fix it.
Fixed Issues
$ #39926
PROPOSAL: #39926 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-04-17.at.12.52.36.mov
Android: mWeb Chrome
Screen.Recording.2024-04-17.at.12.20.01.mov
iOS: Native
Screen.Recording.2024-04-17.at.12.18.20.mov
iOS: mWeb Safari
Screen.Recording.2024-04-17.at.12.17.35.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-17.at.12.16.04.mov
MacOS: Desktop
Screen.Recording.2024-04-17.at.12.17.01.1.mov